package com.risen.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @auther lmj
 * @date 2019/8/9
 */

@RunWith(SpringRunner.class)
@SpringBootTest
public class JavaResult {

    private static void getMiddleOne(boolean b, Boolean boo, Boolean[] arr){

        b = true;

        boo = new Boolean(true);

        arr[0] = true;

    }

    //测试
    @Test
    public  void  testDemo() {

        boolean b = false;

        Boolean boo = new Boolean(false);

        Boolean[] arr = new Boolean[]{false};

        getMiddleOne(b, boo, arr);

        System.out.println(b);

        System.out.println(boo.toString());

        System.out.println(arr[0]);

    }

}
